﻿using System;
using System.Collections.Generic;

namespace swagger2apidocv1
{
    public class PathsInfo
    {
        public string[] tags { get; set; }
        public string summary { get; set; }
        public string[] consumes { get; set; }
        public List<dynamic> parameters { get; set; }
        //public ParameterInfo[] parameters { get; set; }
        public Dictionary<string, object> responses { get; set; }
        public Dictionary<string, ParameterInfo> security { get; set; }
    }
    public class ParameterInfo
    {
        public string @in { get; set; }
        public string name { get; set; }
        public string description { get; set; }
        public string type { get; set; }
    }
// "cat_id": {
//          "format": "int32",
//          "description": "场地类型 1、羽毛球 ,11、足球, 13、篮球, 12、网球,",
//          "type": "integer"
//        },
//        "data": {
//    "description": "活动场地列表",
//          "type": "array",
//          "items": {
//        "$ref": "#/definitions/BusinessGroundInfo"
//          }
//},
//        "detailed": {
//    "$ref": "#/definitions/GroundServiceInfo"
//        }
    public class DefinitionsInfo
    {
        public string description { get; set; }
        public string type { get; set; }
        public Dictionary<string, dynamic> properties { get; set; }
        public Dictionary<string,string> items { get; set; }
    }
    public class PropertyInfo
    {
        public string description { get; set; }
        public string type { get; set; }
        public string format { get; set; }
        public bool readOnly { get; set; }
    }
}
